<template>
	<view class="container">
		<image v-for="index in 5" :key="index" :src="index + 1 <= count ? '../../static/icon/star.png' : '../../static/icon/star_no.png'" mode="widthFix"></image>
	</view>
</template>

<script>
export default {
	props: ['count']
}
</script>

<style scoped lang="stylus">
.container
	position absolute
	width 100%
	height 100%
	display flex
	image
		width 16%
		height auto
		margin 0 2%
</style>
